package com.wyy.todo.graphqlerror;

public abstract class AbstractGraphQLException extends RuntimeException implements GraphQLWithCode {
    private final String message;

    public AbstractGraphQLException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return "{message='" + message + '\'' +  '}';
    }


    @Override
    public String toString() {
        return "{message='" + message + '\'' + '}';
    }
}
